package com.ydkj.a37e_mall.Classes.Model.Response;

import java.util.List;

/**
 * Created by Administrator on 2017/2/15.
 */

public class BannerInfoResp {


    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"id":"1","type":"首页banner广告","type_id":"1","thumb":"http://ol7am9xko.bkt.clouddn.com/o_1b8m7782e33110np5pp1qnpf3e9.png","url":"0","product_id":"16","activity_id":"0","list_order":"999","real_action":"","created_at":"","updated_at":""},{"id":"2","type":"首页banner广告","type_id":"1","thumb":"http://ol7am9xko.bkt.clouddn.com/o_1b8m78lj1c6q1et9oi143j16qq9.png","url":"0","product_id":"14","activity_id":"0","list_order":"998","real_action":"","created_at":"","updated_at":""},{"id":"3","type":"首页banner广告","type_id":"1","thumb":"http://ol7am9xko.bkt.clouddn.com/o_1b8m79fj8fha1gai18gn1u06uis9.png","url":"0","product_id":"0","activity_id":"13","list_order":"997","real_action":"","created_at":"","updated_at":""},{"id":"4","type":"首页banner广告","type_id":"1","thumb":"http://ol7am9xko.bkt.clouddn.com/o_1b8m7a8ou1p1e8s21as0i039j9.png","url":"www.yundiankj.com","product_id":"0","activity_id":"0","list_order":"996","real_action":"","created_at":"","updated_at":""}],"total_page":"","current_page":"","total":"","access_token":""}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * data : [{"id":"1","type":"首页banner广告","type_id":"1","thumb":"http://ol7am9xko.bkt.clouddn.com/o_1b8m7782e33110np5pp1qnpf3e9.png","url":"0","product_id":"16","activity_id":"0","list_order":"999","real_action":"","created_at":"","updated_at":""},{"id":"2","type":"首页banner广告","type_id":"1","thumb":"http://ol7am9xko.bkt.clouddn.com/o_1b8m78lj1c6q1et9oi143j16qq9.png","url":"0","product_id":"14","activity_id":"0","list_order":"998","real_action":"","created_at":"","updated_at":""},{"id":"3","type":"首页banner广告","type_id":"1","thumb":"http://ol7am9xko.bkt.clouddn.com/o_1b8m79fj8fha1gai18gn1u06uis9.png","url":"0","product_id":"0","activity_id":"13","list_order":"997","real_action":"","created_at":"","updated_at":""},{"id":"4","type":"首页banner广告","type_id":"1","thumb":"http://ol7am9xko.bkt.clouddn.com/o_1b8m7a8ou1p1e8s21as0i039j9.png","url":"www.yundiankj.com","product_id":"0","activity_id":"0","list_order":"996","real_action":"","created_at":"","updated_at":""}]
         * total_page :
         * current_page :
         * total :
         * access_token :
         */

        private String total_page;
        private String current_page;
        private String total;
        private String access_token;
        private List<DataEntity> data;

        public String getTotal_page() {
            return total_page;
        }

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 1
             * type : 首页banner广告
             * type_id : 1
             * thumb : http://ol7am9xko.bkt.clouddn.com/o_1b8m7782e33110np5pp1qnpf3e9.png
             * url : 0
             * product_id : 16
             * activity_id : 0
             * list_order : 999
             * real_action :
             * created_at :
             * updated_at :
             */

            private String id;
            private String type;
            private String type_id;
            private String thumb;
            private String url;
            private String product_id;
            private String activity_id;
            private String list_order;
            private String real_action;
            private String created_at;
            private String updated_at;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getType_id() {
                return type_id;
            }

            public void setType_id(String type_id) {
                this.type_id = type_id;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getProduct_id() {
                return product_id;
            }

            public void setProduct_id(String product_id) {
                this.product_id = product_id;
            }

            public String getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(String activity_id) {
                this.activity_id = activity_id;
            }

            public String getList_order() {
                return list_order;
            }

            public void setList_order(String list_order) {
                this.list_order = list_order;
            }

            public String getReal_action() {
                return real_action;
            }

            public void setReal_action(String real_action) {
                this.real_action = real_action;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }
        }
    }
}
